package org.NooLab.glue.net.ftp;

import org.NooLab.glue.components.pkg.DataDeliveryPackageIntf;

public class FtpBoxProperties implements FtpBoxPropertiesIntf {

	
	static public int ARNG_LOCALMACHINE=1;
	static public int ARNG_LOCALNET=2;
	static public int ARNG_DISTRIBUTED=3;
	
	int arrangement = ARNG_LOCALMACHINE;
	
	// ftp server configuration
	
	String serverAddress="" ;
	int[] listeningPorts = new int[1];
	
	String boxUserName = "noolab";
	String boxUserPwd  = "glue" ;
	String boxUserDir  = "messageboard" ;
	
	int loggingLevelAlias = 0;
	
	DataDeliveryPackageIntf ftpDeliveryPackage;
	
	GlueFtpletHandlerIntf ftpDataEndpoint ;
 	
	// ftp client configuration
	
	
	
	public FtpBoxProperties(){
		listeningPorts[0] = 21 ;
		
	}
	
	// ------------------------------------------------------------------------

	public int getArrangement() {
		return arrangement;
	}

	public void setArrangement(int arrangement) {
		this.arrangement = arrangement;
	}

	public String getServerAddress() {
		return serverAddress;
	}

	public void setServerAddress(String serverAddress) {
		this.serverAddress = serverAddress;
	}

	public int[] getListeningPorts() {
		return listeningPorts;
	}

	public void setListeningPorts(int[] listeningPorts) {
		this.listeningPorts = listeningPorts;
	}

	public String getBoxUserName() {
		return boxUserName;
	}

	public void setBoxUserName(String boxUserName) {
		this.boxUserName = boxUserName;
	}

	public String getBoxUserPwd() {
		return boxUserPwd;
	}

	public void setBoxUserPwd(String boxUserPwd) {
		this.boxUserPwd = boxUserPwd;
	}

	public String getBoxUserDir() {
		return boxUserDir;
	}

	public void setBoxUserDir(String boxUserdir) {
		boxUserDir = boxUserdir;
	}

	public int getLoggingLevelAlias() {
		return loggingLevelAlias;
	}

	public void setLoggingLevelAlias(int loggingLevelalias) {
		loggingLevelAlias = loggingLevelalias;
	}



	public GlueFtpletHandlerIntf getFtpDataEndpoint() {
		return ftpDataEndpoint;
	}

	public void setFtpDataEndpoint(GlueFtpletHandlerIntf ftpdataEndpoint) {
		ftpDataEndpoint = ftpdataEndpoint;
	}

	public DataDeliveryPackageIntf getFtpDeliveryPackage() {
		return ftpDeliveryPackage;
	}

	public void setFtpDeliveryPackage(DataDeliveryPackageIntf ftpDeliveryPkg) {
		ftpDeliveryPackage = ftpDeliveryPkg ;
	}
 
	
	
}
